package com.jeecg.o2o.border.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.jeecgframework.poi.excel.annotation.Excel;

import com.jeecg.o2o.statusbar.entity.StatusbarEntity;

/**   
 * @Title: Entity
 * @Description: 商家订单表
 * @author onlineGenerator
 * @date 2019-06-10 17:32:13
 * @version V1.0   
 *
 */
@Entity
@Table(name = "border", schema = "")
@SuppressWarnings("serial")
public class BorderEntity implements java.io.Serializable {
	/**主键*/
	private java.lang.Integer id;
	/**付款方式id*/
	@Excel(name="付款方式id",width=15)
	private java.lang.String paymethodid;
	/**订单详情实体id*/
	@Excel(name="订单详情实体id",width=15)
	private java.lang.String entities;
	/**创建日期*/
	@Excel(name="创建日期",width=15,format = "yyyy-MM-dd")
	private java.util.Date createdate;
	/**描述*/
	@Excel(name="描述",width=15)
	private java.lang.String description;
	/**用餐时间*/
	@Excel(name="用餐时间",width=15,format = "yyyy-MM-dd")
	private java.util.Date delivertime;
	/**送餐地址id*/
	@Excel(name="送餐地址id",width=15)
	private java.lang.String addressid;
	/**用户id*/
	@Excel(name="用户id",width=15)
	private java.lang.String userid;
	/**订单来源*/
	@Excel(name="订单来源",width=15)
	private java.lang.String comefrom;
	/**流程状态*/
	@Excel(name="流程状态",width=15,dicCode="bpm_status")
	private java.lang.String status;
	/**标识*/
	@Excel(name="标识",width=15)
	private java.lang.String sig;
	/**购物车id*/
	@Excel(name="购物车id",width=15)
	private java.lang.String cartid;
	/**商户id*/
	@Excel(name="商户id",width=15)
	private java.lang.String restaurantid;
	/**订单总额*/
	@Excel(name="订单总额",width=15)
	private java.lang.String totalamount;
	/**状态关联订单状态id*/
	@Excel(name="状态关联订单状态id",width=15)
	private java.lang.String statusbarid;
	
	private byte[] restaurant_image_code;
	
	private String restaurant_name;
	
	private StatusbarEntity status_bar;
	
	private String limit;
	
	private String geohash;
	
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  主键
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)

	@Column(name ="ID",nullable=false,length=20)
	public java.lang.Integer getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  主键
	 */
	public void setId(java.lang.Integer id){
		this.id = id;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  付款方式id
	 */

	@Column(name ="PAYMETHODID",nullable=true,length=50)
	public java.lang.String getPaymethodid(){
		return this.paymethodid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  付款方式id
	 */
	public void setPaymethodid(java.lang.String paymethodid){
		this.paymethodid = paymethodid;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  订单详情实体id
	 */

	@Column(name ="ENTITIES",nullable=true,length=50)
	public java.lang.String getEntities(){
		return this.entities;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  订单详情实体id
	 */
	public void setEntities(java.lang.String entities){
		this.entities = entities;
	}
	
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  创建日期
	 */

	@Column(name ="CREATEDATE",nullable=true,length=20)
	public java.util.Date getCreatedate(){
		return this.createdate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  创建日期
	 */
	public void setCreatedate(java.util.Date createdate){
		this.createdate = createdate;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  描述
	 */

	@Column(name ="DESCRIPTION",nullable=true,length=50)
	public java.lang.String getDescription(){
		return this.description;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  描述
	 */
	public void setDescription(java.lang.String description){
		this.description = description;
	}
	
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  用餐时间
	 */

	@Column(name ="DELIVERTIME",nullable=true,length=50)
	public java.util.Date getDelivertime(){
		return this.delivertime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  用餐时间
	 */
	public void setDelivertime(java.util.Date delivertime){
		this.delivertime = delivertime;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  送餐地址id
	 */

	@Column(name ="ADDRESSID",nullable=true,length=20)
	public java.lang.String getAddressid(){
		return this.addressid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  送餐地址id
	 */
	public void setAddressid(java.lang.String addressid){
		this.addressid = addressid;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  用户id
	 */

	@Column(name ="USERID",nullable=true,length=50)
	public java.lang.String getUserid(){
		return this.userid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  用户id
	 */
	public void setUserid(java.lang.String userid){
		this.userid = userid;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  订单来源
	 */

	@Column(name ="COMEFROM",nullable=true,length=50)
	public java.lang.String getComefrom(){
		return this.comefrom;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  订单来源
	 */
	public void setComefrom(java.lang.String comefrom){
		this.comefrom = comefrom;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  流程状态
	 */

	@Column(name ="STATUS",nullable=true,length=32)
	public java.lang.String getStatus(){
		return this.status;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  流程状态
	 */
	public void setStatus(java.lang.String status){
		this.status = status;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  标识
	 */

	@Column(name ="SIG",nullable=true,length=32)
	public java.lang.String getSig(){
		return this.sig;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  标识
	 */
	public void setSig(java.lang.String sig){
		this.sig = sig;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  购物车id
	 */

	@Column(name ="CARTID",nullable=true,length=32)
	public java.lang.String getCartid(){
		return this.cartid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  购物车id
	 */
	public void setCartid(java.lang.String cartid){
		this.cartid = cartid;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  商户id
	 */

	@Column(name ="RESTAURANTID",nullable=true,length=20)
	public java.lang.String getRestaurantid(){
		return this.restaurantid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  商户id
	 */
	public void setRestaurantid(java.lang.String restaurantid){
		this.restaurantid = restaurantid;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  订单总额
	 */

	@Column(name ="TOTALAMOUNT",nullable=true,length=32)
	public java.lang.String getTotalamount(){
		return this.totalamount;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  订单总额
	 */
	public void setTotalamount(java.lang.String totalamount){
		this.totalamount = totalamount;
	}
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  状态关联订单状态id
	 */

	@Column(name ="STATUSBARID",nullable=true,length=32)
	public java.lang.String getStatusbarid(){
		return this.statusbarid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  状态关联订单状态id
	 */
	public void setStatusbarid(java.lang.String statusbarid){
		this.statusbarid = statusbarid;
	}
	@Transient
	public byte[] getRestaurant_image_code() {
		return restaurant_image_code;
	}

	public void setRestaurant_image_code(byte[] restaurant_image_code) {
		this.restaurant_image_code = restaurant_image_code;
	}
	@Transient
	public String getRestaurant_name() {
		return restaurant_name;
	}

	public void setRestaurant_name(String restaurant_name) {
		this.restaurant_name = restaurant_name;
	}

	@Transient
	public StatusbarEntity getStatus_bar() {
		return status_bar;
	}

	public void setStatus_bar(StatusbarEntity status_bar) {
		this.status_bar = status_bar;
	}

	@Transient
	public String getLimit() {
		return limit;
	}

	public void setLimit(String limit) {
		this.limit = limit;
	}

	@Transient
	public String getGeohash() {
		return geohash;
	}

	public void setGeohash(String geohash) {
		this.geohash = geohash;
	}
	
	
	
}
